package com.itheima.youdianda.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.youdianda.common.R;
import com.itheima.youdianda.pojo.SysUser;

import java.util.Map;

public interface IndexService extends IService<SysUser> {
    R login(Map<String, String> map);

    R getConfig();

    R baseInfo();

    R profile();
//    A profile();

    R frontPage(Integer page, Integer limit);


    R articleList(Integer page, Integer limit, Integer cateid);

    R recommend();

    R hot();

    Object show(String id);
}
